package com.cr.crsystem.system.mapper;

import com.cr.crsystem.system.entity.Car;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cr.crsystem.system.vo.CarVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author su
 * @since 2022-06-21
 */
@Mapper
public interface CarMapper extends BaseMapper<Car> {

    List<CarVo> queryUnApproveCar(@Param("status") String status);

    List<CarVo> queryApproveCar(@Param("statusList") String[] statusList);


    List<CarVo> queryRentCar(@Param("statusList") String status);

}
